<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('V_course_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-v_course_id" data-rule="required" data-source="v_course/index"
                   class="form-control selectpage" name="row[v_course_id]" type="text" data-field="title"
                   value="{$row.v_course_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('V_video_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-v_video_id" data-source="v_video/index"
                   class="form-control selectpage" name="row[v_video_id]" type="text"  data-field="title"
                   value="{$row.v_video_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sort')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sort" data-rule="required" class="form-control" name="row[sort]" type="number" value="{$row.sort|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_free')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_free" class="form-control selectpicker" name="row[is_free]">
                {foreach name="isFreeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_free"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
